<template>
  <div id="wifi">
    <tab :tabs="tabs" :perm="perm" :map="map" v-if="$store.getters.menu!='newmenu'" />
    <div class="router-view-3">
      <router-view />
    </div>
  </div>
</template>

<script>
  import tab from '@/components/tab'
  import { mapState } from 'vuex'
  export default {
    components: {
      tab,
    },
    data(){
      return {
        tabs: this.$t('wifi.tabs'),
      }
    },
    computed: {
      ...mapState({
        perm: state => state.info.perm.wifi,
        map: state => state.info.perm_map[2],
      }),
    },
    methods: {

    },
    created(){
      this.$emit('changeIdx', 2)
    },
  }
</script>

<style lang="scss" scoped>

</style>
